#ifndef PATHSONGSVIEW_H
#define PATHSONGSVIEW_H

#include <QWidget>
#include <QTableWidgetItem>

namespace Ui {
class PathSongsView;
}

class PathSongsView : public QWidget
{
    Q_OBJECT

public:
    explicit PathSongsView(QWidget *parent = 0);
    ~PathSongsView();

    void reView();

    QString path() const;
    void setPath(const QString &path);
protected:
    virtual void resizeEvent(QResizeEvent *);
private:
    Ui::PathSongsView *ui;

    QString _path;
    QStringList _fileNames;
public slots:
    void cellDoubleClicked(int row, int column);
    void slot_customContextMenuRequested(const QPoint & pos);
};

#endif // PATHSONGSVIEW_H
